In number theory, Sophie Germain's theorem is a statement about the divisibility of solutions to the equation xp + yp = zp of Fermat's Last Theorem. Specifically, Sophie Germain proved that the product xyz must be divisible by p2 if an auxiliary prime θ can be found such that two conditions are satisfied:
Conversely, the first case of Fermat's Last Theorem must hold for every prime p for which even one auxiliary prime can be found. Germain identified such an auxiliary prime θ for every prime less than 100. The theorem and its application to primes p less than 100 were attributed to Germain by Adrien-Marie Legendre in 1823.[1]